package domain.cms;

import domain.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity

public class CmsUrl extends AbstractEntity<CmsUrl> {
    @Column(unique = true, nullable = true)
    String url;

    public CmsUrl() {
    }

    public CmsUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return url;
    }
}
